package com.example.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName wd_reservation
 */
@TableName(value ="wd_reservation")
@Data
public class Reservation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 预约id
     */
    @TableId(value = "reservation_id", type = IdType.ID_WORKER_STR)
    private String reservationId;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 发货地址id
     */
    private String addFromId;

    /**
     * 预约状态 0=已填写 1=未填写
     */
    private int reType;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}